-- GENERATED SPELL FOR [Plagued Rat] --


function spell0_10441(pUnit, Event) --@Black Rot,n/a--
pUnit:FullCastSpellOnTarget(16448,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10441', 661, 1)
end

function Sorts_10441(pUnit, Event)
local choix_sorts_10441 = math.random(0, 0)
if choix_sorts_10441 == 0 then
pUnit:RegisterEvent('spell0_10441', 1, 1)
end
end

function mob10441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10441', math.random(1500, 3000), 1)
end

function mob10441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10441, 1, 'mob10441_Action')
RegisterUnitEvent(10441, 2, 'mob10441_Leave')
RegisterUnitEvent(10441, 3, 'mob10441_Kill')
RegisterUnitEvent(10441, 4, 'mob10441_Die')
